module.exports = ({ file }) => {
  console.log('path', file.dirname)
  return {
    plugins: {
      autoprefixer: {
        overrideBrowserslist: [
          '> 1%',
          'last 2 versions',
          'not ie <= 10'
        ]
      },
      'postcss-px-to-viewport': {
        unitToConvert: 'px',
        viewportWidth: 375,
        unitPrecision: 6,
        propList: ['*'],
        viewportUnit: 'vw',
        fontViewportUnit: 'vw',
        selectorBlackList: [],
        minPixelValue: 1,
        mediaQuery: true,
        exclude: [],
        landscape: false
      }
    }
  }
}
